import axios from "axios";

axios.defaults.baseURL="http://www.zhaijizhe.cn:3005/"
axios.interceptors.request.use(config=>{
    config.headers['Authorization']='Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MGNiMDA3M2I4NGRjNWVlZGUwOWRkNzkiLCJpYXQiOjE2NjE0ODE2ODMsImV4cCI6MTY2MTQ4MzQ4M30.uCTkgG52otCdKHLcJGiIsf7cmnt8HTWF2XkShnIt1pg'
    return config;
})
axios.interceptors.response.use(response=>{
    return response.data
})